package com.app.signing.view.room.data;

/**
 * @author wangpeifeng
 * @date 2018/05/09 14:06
 *
 * 定义座位显示的类
 */
public class RoomSeatData {
    /**
     * 行数
     */
    private int rowCount;
    /**
     * 列数
     */
    private int columnCount;
    /**
     * 座位状态
     */
    private int type;
    /**
     * 座位ID
     */
    private String id;

    public RoomSeatData(int rowCount, int columnCount, int type, String id) {
        this.rowCount = rowCount;
        this.columnCount = columnCount;
        this.type = type;
        this.id = id;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }

    public String getId() {
        return id;
    }

    public int getRowCount() {
        return rowCount;
    }

    public int getColumnCount() {
        return columnCount;
    }

    @Override
    public String toString() {
        return "RoomSeatData{"
                + "rowCount="
                + rowCount
                + ", columnCount="
                + columnCount
                + ", type="
                + type
                + ", id='"
                + id
                + '\''
                + '}';
    }
}
